<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>时钟</title>
    <style type="text/css">
        canvas {
            margin: 0 auto;
            display: block;
        }
    </style>
    <script type="text/javascript" src="script.js"></script>
</head>

<body onload="main()">
    <canvas id="canvas" height=600 width=600></canvas>
</body>

</html>




